package com.bysc.gateway.client;

import com.bysc.commonutils.Results;
import com.bysc.commonutils.constant.UserConstant;
import com.bysc.commonutils.vo.UserInfoVo;
import org.springframework.stereotype.Component;

@Component

public class UserInfoDegradeFeignClient implements UserClient {
    @Override
    public Results getUserInfo(String id) {
        return Results.error().message("time out");
    }
    @Override
    public Results isDisabled(String userId) {
        return Results.error().message("time out");
    }
}


